package com.aaa;

import com.aaa.netty.NettyServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.aaa.mapper")
public class start {
    public static void main(String[] args) {
        SpringApplication.run(start.class);
        try {
            new NettyServer(9000).start();
        }catch (Exception e){
            System.out.println(e);
        }
    }
}
